Replace some faulty indentation, group some booleans to reduce
a bit of memory usage
https://bugzilla.gnome.org/show_bug.cgi?id=680801
st_theme_node_paint_borders (StThemeNode *node,
const ClutterActorBox *box,
guint8 paint_opacity)
-
{
float width, height;
int border_width[4];
int background_position_x;
int background_position_y;
- gboolean background_position_set : 1;
+
StBackgroundSize background_size;
gint background_size_w;
gint background_size_h;
/* We hold onto these separately so we can destroy them on finalize */
CRDeclaration *inline_properties;
+ guint background_position_set : 1;
+
guint properties_computed : 1;
guint geometry_computed : 1;
guint background_computed : 1;
}
else
node->background_position_set = TRUE;
-
- result = get_length_from_term_int (node, decl->value->next, FALSE, &node->background_position_y);
+
+ result = get_length_from_term_int (node, decl->value->next, FALSE, &node->background_position_y);
if (result == VALUE_NOT_FOUND)
{